home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / exampleCode / opengl / GLUT / progs / inventor / Makefile.sgi < prev    next >
Encoding:
Makefile  |  1996-11-11  |  539 b   |  33 lines

  1. #! smake
  2. #
  3. # Copyright (c) Mark J. Kilgard, 1995.
  4. #
  5. include $(ROOT)/usr/include/make/commondefs
  6.  
  7. TOP = ../..
  8.  
  9. LN = ln -s
  10. MV = mv
  11. RM = -rm -rf
  12.  
  13. TARGETS = glutduck globe
  14.  
  15. GLUT = $(TOP)/lib/glut/libglut.a
  16. LLDLIBS = $(GLUT) -lInventor -lGLU -lGL -lXmu -lXext -lX11 -lm
  17.  
  18. SRCS = glutduck.c++
  19. OBJS = $(SRCS:.c++=.o)
  20.  
  21. LC++OPTS = -fullwarn -I$(TOP)
  22. LDIRT = *~ *.bak *.pure
  23.  
  24. default : $(TARGETS)
  25.  
  26. glutduck : glutduck.o
  27.     $(C++F) -o $@ $(CFLAGS) glutduck.o $(LDLIBS)
  28.  
  29. globe : globe.o
  30.     $(C++F) -o $@ $(CFLAGS) globe.o $(LDLIBS)
  31.  
  32. include $(COMMONRULES)
  33.